package cn.tedu.demo.service;

import cn.tedu.demo.entity.Book;
import cn.tedu.demo.vo.PageInfo;

import java.util.List;

public interface BookService {


    void save(Book book);

    void update(Book book);

    Book checkBook(Integer id);

    PageInfo getByPage(PageInfo pageInfo);

    void delete(Long id);


    void deleteBatch(List<Integer> ids);

    List<Book> getByUserid(Integer id);
}
